/* TCSS 590A - Cybernetics and Systems
 * Group Project - Modeling
 * By Barry Jones, Naren Meadem, Michael Pitts, Yuan Tao
 * Fall 2012, University of Washington, Tacoma
 */

package model.delayed;


/**
 * A savings account where all the transactions are maintained
 * 
 * @author Naren Meadem
 * @version Dec 1, 2012
 */


public class savings extends BasicAccount
{
	
	

	
public long AssetValue=0;

public long delay_in_return=1;

public long min_balance;

//	public savings(long the_value, double the_rate, Generator the_generator)
//	{
//		super(the_value, the_rate, the_generator);
		// TODO Auto-generated constructor stub
//	}
	
	public savings(long the_value, double the_rate, Generator the_generator, long my_delay_in_return, long my_min_balance)
	{
		super(the_value, the_rate, the_generator);
		delay_in_return = my_delay_in_return;
		min_balance = my_min_balance;
	}
	
	
	public long get_AssetValue () { return AssetValue;}
	public void set_AssetValue (final long the_Asset_value) {AssetValue =the_Asset_value;}
	public void add_AssetValue (final long the_Asset_value) {AssetValue +=the_Asset_value;}
	public long delay_in_return() {return delay_in_return;}
	public long min_balance() {return min_balance;}
}
